﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Prism.Games.GalEngine.Scripts.FunctionModel;
using Prism.Games.GalEngine.Scripts.Data.ResourceCollection;


namespace Prism.Games.GalEngine.Scripts.Data.BranchSystem
{
    [Serializable]
    public class Option : MarkedObject, IItemIncrementalMarkableHost
    {
        public Option(IItemIncrementalMarkable host)
        {
            this.results = new RoleResultCollection();
            this.Host = host;
        }

        private string content;
        public string Content { get { return this.content; } set { if (value != this.content) { this.content = value; this.OnPropertyChanged("Content"); } } }

        private RoleResultCollection results;
        public RoleResultCollection Results { get { return this.results; } set { if (value != this.results) { this.results = value; this.OnPropertyChanged("Results"); } } }



        public IItemIncrementalMarkable Host
        {
            get;
            set;
        }
    }
}
